package com.bcu.calculus.entity;

import java.io.Serializable;
import java.util.Date;

import com.bcu.calculus.config.IgnoreSwaggerParameter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * total
 * @author 
 */
@ApiModel(value = "com-bcu-calculus-entity-Total")
@NoArgsConstructor
@Data
public class Total implements Serializable {
    /**
     * 总分编号
     */
    @ApiModelProperty(value = "总分编号")
    private String totalScoreId;

    /**
     * 总分对应用户编号
     */
    @ApiModelProperty(value = "总分对应用户编号")
    private String totalUserId;

    /**
     * 总分对应学期编号
     */
    @ApiModelProperty(value = "总分对应学期编号")
    private Integer totalSemId;

    /**
     * 总分
     */
    @ApiModelProperty(value = "总分")
    private Double totalScore;

    /**
     * 总分创建时间
     */
    @ApiModelProperty(value = "总分创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date totalCreateTime;

    /**
     * 最后一次修改时间
     */
    @ApiModelProperty(value = "最后一次修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date totalUpdateTime;

    @IgnoreSwaggerParameter
    private UserInfo userinfo;

}